package net.lab1024.sa.admin.module.business.erp.mmo.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 产品送检单行 新建表单
 *
 * @Author AKITA
 * @Date 2025-08-18 21:57:45
 * @Copyright AKITA
 */

@Data
public class PrfordaAddForm {

    @Schema(description = "电键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "电键 不能为空")
    private Long id;

    @Schema(description = "行号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "行号 不能为空")
    private Integer lineNum;

    @Schema(description = "基础电键")
    private Long baseId;

    @Schema(description = "基础行号")
    private Integer baseLineNum;

    @Schema(description = "行状态")
    private String lineStatus;

    @Schema(description = "行备注")
    private String freeTxt;

    @Schema(description = "物料编码")
    private String itemId;

    @Schema(description = "物料名称")
    private String itemName;

    @Schema(description = "规格")
    private String specs;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "数量")
    private BigDecimal qty;

    @Schema(description = "税额")
    private String tax;

    @Schema(description = "未税单价")
    private BigDecimal price;

    @Schema(description = "未税行计")
    private BigDecimal priceLine;

    @Schema(description = "含税单价")
    private BigDecimal taxPrice;

    @Schema(description = "含税行计")
    private BigDecimal taxPriceLine;

    @Schema(description = "需求日期")
    private LocalDateTime reqDate;

    @Schema(description = "系统批次")
    private String batchId;

    @Schema(description = "质量")
    private String quality;

}